package com.slipper.system.codeless.bo;

import com.slipper.common.bo.CommonBO;

import java.util.ArrayList;
import java.util.List;

/**
 * 数据表格字段表
 */
public class DataTableFieldBO extends CommonBO {
    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 表格ID */
    private String tableId;
    private String[] tableIds;
    /* 字段ID */
    private String fieldId;
    /* 字段名称 */
    private String fieldName;
    /* 别名 */
    private String aliasName;
    /* 列宽 */
    private Integer width;
    /* 是否合并 */
    private String ifMerge;
    /* 自动换行 */
    private String wrap;
    /* 表头对齐方式： 居左、居中、居右 */
    private String headerAlign;
    /* 内容对齐方式： 居左、居中、居右 */
    private String contentAlign;
    /* 字体颜色 */
    private String contentColor;
    /* 固定列 */
    private String fixed;
    /* 关联页面组件ID */
    private String pageId;
    /* 关联页面字段Json */
    private String pageFieldJson;
    /* 显示关联图标 */
    private String showRelevanceIcon;
    private String canEdit;
    /* 全屏弹窗 */
    private String fullscreenDialog;
    private Integer dialogWidth;
    private String showCloseButton;
    /* 关闭后刷新 */
    private String closeRefresh;
    /* 打开前执行脚本ID */
    private String openScriptId;
    /* 关闭后执行脚本ID */
    private String closeScriptId;
    /* 显示执行结果 */
    private String showExecuteResult;
    /* 排序 */
    private Integer ordinal;
    /* 更新人ID */
    private String updateId;
    /* 更新时间 */
    private Long updateTime;
    /* 创建人ID */
    private String createId;
    /* 创建时间 */
    private Long createTime;

    private List<DataTableFieldStyleBO> styleList = new ArrayList<>();

    public void setId(String id) {
        this.id = id;
    }
    
    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }
    
    public String[] getIds() {
        return ids;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }
    
    public String getTableId() {
        return tableId;
    }

    public String[] getTableIds() {
        return tableIds;
    }

    public void setTableIds(String[] tableIds) {
        this.tableIds = tableIds;
    }

    public void setFieldId(String fieldId) {
        this.fieldId = fieldId;
    }
    
    public String getFieldId() {
        return fieldId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }
    
    public String getAliasName() {
        return aliasName;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }
    
    public Integer getWidth() {
        return width;
    }

    public String getIfMerge() {
        return ifMerge;
    }

    public void setIfMerge(String ifMerge) {
        this.ifMerge = ifMerge;
    }

    public void setWrap(String wrap) {
        this.wrap = wrap;
    }
    
    public String getWrap() {
        return wrap;
    }

    public void setHeaderAlign(String headerAlign) {
        this.headerAlign = headerAlign;
    }
    
    public String getHeaderAlign() {
        return headerAlign;
    }

    public void setContentAlign(String contentAlign) {
        this.contentAlign = contentAlign;
    }
    
    public String getContentAlign() {
        return contentAlign;
    }

    public void setContentColor(String contentColor) {
        this.contentColor = contentColor;
    }
    
    public String getContentColor() {
        return contentColor;
    }

    public void setFixed(String fixed) {
        this.fixed = fixed;
    }
    
    public String getFixed() {
        return fixed;
    }

    public void setPageId(String pageId) {
        this.pageId = pageId;
    }
    
    public String getPageId() {
        return pageId;
    }

    public String getPageFieldJson() {
        return pageFieldJson;
    }

    public void setPageFieldJson(String pageFieldJson) {
        this.pageFieldJson = pageFieldJson;
    }

    public void setShowRelevanceIcon(String showRelevanceIcon) {
        this.showRelevanceIcon = showRelevanceIcon;
    }
    
    public String getShowRelevanceIcon() {
        return showRelevanceIcon;
    }

    public String getCanEdit() {
        return canEdit;
    }

    public void setCanEdit(String canEdit) {
        this.canEdit = canEdit;
    }

    public void setFullscreenDialog(String fullscreenDialog) {
        this.fullscreenDialog = fullscreenDialog;
    }
    
    public String getFullscreenDialog() {
        return fullscreenDialog;
    }

    public Integer getDialogWidth() {
        return dialogWidth;
    }

    public void setDialogWidth(Integer dialogWidth) {
        this.dialogWidth = dialogWidth;
    }

    public String getShowCloseButton() {
        return showCloseButton;
    }

    public void setShowCloseButton(String showCloseButton) {
        this.showCloseButton = showCloseButton;
    }

    public void setCloseRefresh(String closeRefresh) {
        this.closeRefresh = closeRefresh;
    }
    
    public String getCloseRefresh() {
        return closeRefresh;
    }

    public void setOpenScriptId(String openScriptId) {
        this.openScriptId = openScriptId;
    }
    
    public String getOpenScriptId() {
        return openScriptId;
    }

    public void setCloseScriptId(String closeScriptId) {
        this.closeScriptId = closeScriptId;
    }
    
    public String getCloseScriptId() {
        return closeScriptId;
    }

    public void setShowExecuteResult(String showExecuteResult) {
        this.showExecuteResult = showExecuteResult;
    }
    
    public String getShowExecuteResult() {
        return showExecuteResult;
    }

    public Integer getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(Integer ordinal) {
        this.ordinal = ordinal;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }
    
    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
    
    public Long getUpdateTime() {
        return updateTime;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }
    
    public String getCreateId() {
        return createId;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
    
    public Long getCreateTime() {
        return createTime;
    }

    public List<DataTableFieldStyleBO> getStyleList() {
        return styleList;
    }

    public void setStyleList(List<DataTableFieldStyleBO> styleList) {
        this.styleList = styleList;
    }
}
